class Animel {
  move() {
    console.log('Moving along!');
  }
}

class Dog extends Animel {
  woof(times: number) {
    for(let i=0; i<times; i++){
      console.log('woof!');
    }
  }
}

const d = new Dog()
d.move()
d.woof(3)